package com.googlecode.c4e.model;

import org.apache.maven.continuum.xmlrpc.project.ProjectGroupSummary;

public class ProjectGroup {

  private String profileId;
  private ProjectGroupSummary summary;

  public ProjectGroup(ProjectGroupSummary summary, String profileId) {
    this.summary = summary;
    this.profileId = profileId;
  }

  public int getId() {
    return summary.getId();
  }

  public String getName() {
    return summary.getName();
  }

  public String getProfileId() {
    return profileId;
  }

  public String toString() {
    return summary.getName() + " (" + summary.getGroupId() + ")";
  }
}
